package com.acce.system.dao;

import java.util.List;
import java.util.Map;

import com.acce.system.pojo.CompanyRelationship;

/** 
 * @ClassName: IInquiryListDao 
 * @Description: 询价商品信息Dao
 * @author mahuang
 * @date 2016年7月19日 上午10:21:10 
 *  
 */
public interface ICompanyRelationshipDao {
	
	CompanyRelationship getCompanyRelationshipId(CompanyRelationship companyRelationship);
	
	List<CompanyRelationship> getCompanyRelationshipByCondition(CompanyRelationship companyRelationship);
	
	int insertCompanyRelationship(CompanyRelationship companyRelationship);
	
	boolean insertBatchCompanyRelationship(List<CompanyRelationship> companyRelationship);
	
	boolean updateCompanyRelationship(CompanyRelationship companyRelationship);
	
	boolean updateBatchCompanyRelationship(List<CompanyRelationship> companyRelationship);
	
	boolean updateBatchCompanyRelationshipByProduct(List<CompanyRelationship> companyRelationship);
	
	List<CompanyRelationship> queryCompanyRelation(Map<String, String> map);
}
